package com.sefer.dragonfly.client.tools;

import com.sefer.dragonfly.client.core.listener.CacheListener;

/**
 * 监控工厂
 * 
 * @author xiaofeng.zhouxf
 * 
 */
public class MonitorLogFactory {

	public static MonitorLog getLogger(String cacheId) {
		MonitorLog log = new MonitorLog(cacheId);

		log.addListener(new CacheListener());

		return log;
	}
}
